#ifndef __BASIC_TYPES_H__
#define __BASIC_TYPES_H__

/*********************************************************
www.lansea.com
author:fedorayang@lansea.com
**********************************************************/

#define OS_10MS 2
#define OS_5MS 1
#define OS_TICK_UINT (1000/OS_TICKS_PER_SEC)
#define OS_MS(t) ((t+OS_TICK_UINT-1)/OS_TICK_UINT)


typedef unsigned short u16;
typedef unsigned short uint16;
typedef short int16_t;
typedef short int16;
typedef unsigned short uint16_t;
typedef unsigned int u32;
typedef unsigned int uint32;
typedef unsigned int uint32_t;
typedef int int32_t;
typedef int int32;
typedef char int8;
typedef unsigned char u8;
typedef unsigned char uint8;
typedef unsigned char uint8_t;
typedef unsigned char uchar;
typedef void (*tIsrFunc)(void);
typedef uint8_t* ShortString;


#define LS_SUCCESS 0
#define LS_FAIL -1


#endif

